;
(function($, window, document, undefined) {
    var SnsRank = function(el, opts) {
        this.el = el;
        this.defaults = {
            theme: 'macarons'
        };
        this.options = $.extend({}, this.defaults, opts);
    }

    SnsRank.prototype = {
        init: function() {
            var me = this,
                el = me.el;

            if (el.attr('data-initialized') == 'true') {
                return me;
            }

            me.bindEvents();


            el.attr('data-initialized', 'true');
            return me;
        },


        /**
         * [bindEvents description]
         * @return {[type]} [description]
         */
        bindEvents: function() {
            var me = this,
                el = me.el;

        }
    }

    $.fn.SnsRank = function(opts) {
        var me = this,
            el = me.el,
            comSnsRank;

        // 如果没有被初始化过
        if (!(el && el.length && el.attr('data-initialized') != 'true')) {
            comSnsRank = new SnsRank(this, opts);
        }

        return comSnsRank.init();
    }
})(jQuery, window, document);
